package model

type Stock struct {
	BaseModel
	Goods   int32 `gorm:"type:int;index"`
	Stocks  int32 `gorm:"type:int"`
	Version int32 `gorm:"type:int"`
}

type StockHistrory struct {
	user   int32
	goods  int32
	nums   int32
	order  int32
	status int32 //1预扣库存，2已支付成功
}
